package cn.edu.tsc.pojo;


public class Emp {
    private int id;
    private String name;
    private String depart;
    private int salary;

    public Emp() {
    }

    public Emp(String name, String depart, int salary) {
        this.name = name;
        this.depart = depart;
        this.salary = salary;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepart() {
        return depart;
    }

    public void setDepart(String depart) {
        this.depart = depart;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }
}
